package com.basic.library.utils;

import com.basic.library.BuildConfig;
import com.google.gson.Gson;

/**
 * @author yj
 * @description
 */
public class MyLog {

    public static void p(Object output) {
        if (BuildConfig.DEBUG)
            System.out.println(output);
    }

    public static void toJSon(Object output) {
        if (BuildConfig.DEBUG)
            System.out.println(new Gson().toJson(output));
    }
}
